Feature: smoke

Scenario: QA-38==> Is Portal Deployed

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

When We Enter Login Creds "<username>" and "<password>"

After

Scenario: QA-38==> login as a "SSA"

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

When We Enter Login Creds "umair.aslam.ssa@techtronix.biz" and "Test_12345"

Then move on landing page

Then select customer as "uiautomator1"

Then Dismiss_Card_SSA

After

page.screenshot: Timeout 30000ms exceeded.
Call log:
  - taking page screenshot

    at World.(anonymous) (D:\automatmions\a\QAutomation\test_scripts\ticket_manager\tms\src\hooks\hooks.js:48:26)

Scenario: QA-39==> Purchase Marketplace ticket from (Search Detail) with "Business" Purchase and status as "Approved" (with invitee) for ==> "SSA"

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to CustomerFeatures tab

Then Verify Hide External Ticket is off

Then Select Marketplace ticket

Then Insert Order Details for "Business"

Then Change order status as "Approved" for "Business" purchase

After

Scenario: QA-39==> Purchase Marketplace ticket from (Search Detail) with "Personal" Purchase and status as "" (with invitee) for ==> "SSA"

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Select Marketplace ticket

Then Insert Order Details for "Personal"

After

Scenario: QA-42==> Create order from (Landing page) with order type "Business Use" with invitee

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA

Then Select Location as "All Locations" and ticket as "Company Owned"

Then Select Company Owned ticket for "Business Use" and user "SSA" for shipping

Then Insert Ticket details as order type "Business Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Insert all "1" invitee details

Then Submit Ticket

After

Scenario: QA-42==> Create order from (Landing page) with order type "Personal Use" with invitee

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA

Then Select Location as "All Locations" and ticket as "Company Owned"

Then Select Random company owned event from Landing Page

Then Insert Ticket details as order type "Personal Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Insert all "1" invitee details

Then Submit Ticket

After

Scenario: QA-43==> Verify Is Static Map available? for "CSA"

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA

Then Select Ticket Type Dropdown as "All Available Tickets"

Then Scroll page Down

Then read map

After

Scenario: QA-43==> Verify Is Dynamic Map available? and check No of tickets dynamically for "SSA"

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA

Then Select Ticket Type Dropdown as "Market Place"

Then Scroll page Down

Then Select random event from Landing page

After

Scenario: QA-44==> REPORT:"Invitee Information"" ==> Verify Count

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Invitee Information" Report

Then Reset View

Then Apply aggregate function "Count" on "Invitee Information" Report

After

Scenario: QA-44==> REPORT:"All Tickets"" ==> Verify Count

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "All Tickets" Report

Then Reset View

Then Apply aggregate function "Count" on "All Tickets" Report

After

Scenario: QA-44==> REPORT:"Shipping"" ==> Verify Count

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Shipping" Report

Then Reset View

Then Apply aggregate function "Count" on "Shipping" Report

After

Scenario: QA-44==> REPORT:"Shipping"==> Verify sum

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Shipping" Report

Then Apply aggregate function "Sum" on "Shipping" Report

Then Reduce no of Tickets using multiple inline filters

Then Verify aggregate function Sum for "Shipping"

After

Scenario: QA-44==> REPORT:"Shipping"==> Verify average

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Shipping" Report

Then Apply aggregate function "Average" on "Shipping" Report

Then Verify aggregate function Average for "Shipping"

After

Scenario: QA-44==> Verify "Pie" Graph

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Usage by Top Attendees" Report

Then Verify "Pie" Graph with Label as "Performer Name" and Data Column as "Tickets Available" for "Usage by Top Attendees"

Then Verify Check box

After

Scenario: QA-44==> Verify "Bar" Graph

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Usage by Top Attendees" Report

Then Verify "Bar" Graph with Label as "Performer Name" and Data Column as "Tickets Available" for "Usage by Top Attendees"

Then Verify Check box

After

Scenario: QA-44==> REPORT:"Unsubscribe Status"==> Verify: Is_aggregation_disabled

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Unsubscribe Status" Report

Then Apply aggregate function "" on "Unsubscribe Status" Report

Then Verify: Is aggregation disabled

After

Scenario: QA-46==> Ship order through FedEx and also cancel shipment

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to CustomerFeatures tab

Then Verify FedeEx Integration is enable

Then Select Company Owned ticket

Then Select Company Owned ticket for "Business Use" and user "SSA" for shipping

Then Insert Ticket details as order type "Business Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Insert all "1" invitee details

Then Submit for "SSA"

Then Change first status as "order_approve" for "Business Use" from pending manager approval state "1"

Then Process Shipment using FedEx

After

Scenario: QA-46==> Ship order through UPS

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA_

Then Navigate to CustomerFeatures tab

Then Verify UPS Integration is enable

Then Select Company Owned ticket

Then Select Company Owned ticket for "Business Use" and user "SSA" for shipping

Then Insert Ticket details as order type "Business Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Insert all "1" invitee details

Then Submit for "SSA"

Then Change first status as "order_approve" for "Business Use" from pending manager approval state "1"

Then Process Shipment using UPS

After

Scenario: QA-46==> Ship order through FedEx/UPS with multiple invitees second method

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA_

Then Select Company Owned ticket

Then Select Company Owned ticket for "Business Use" and user "SSA" for shipping

Then Insert Ticket details as order type "Business Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Insert all "2" invitee details

Then Submit for "SSA"

Then Change first status as "order_approve" for "Business Use" from pending manager approval state "1"

Then Process Multiple "2" Shipment using Second method

After

Scenario: QA-46==> Ship order through FedEx/UPS with multiple invitees using first method and print

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA_

Then Select Company Owned ticket for "Business Use" and user "SSA" for shipping

Then Insert Ticket details as order type "Business Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Insert all "2" invitee details

Then Submit for "SSA"

Then Change first status as "order_approve" for "Business Use" from pending manager approval state "1"

Then Process Multiple "2" Shipment using First method

Then Print Packing List

After

Scenario: QA-48==> Verify Workflow for Payment Processing (Alpha)

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to CustomerFeatures tab

Then Verify Alpha is Enable

After

Scenario: QA-50==> Check Settings for order approval

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to CustomerFeatures tab

Then Verify Approval Manager is Enable

And Verify Ticket Approval Manager is Enable

And Verify Order purpose approver is Enable

Then Set Manager approver as "tmautomator.csa" with email as "tmautomator.csa@techtronix.biz"

After

Scenario: QA-50==> Submit order those are in Pending by approval manager for "Business Use" and status as "order_approve" with invitee

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Select Company Owned ticket for "Business Use" and user "SSA"

Then Insert Ticket details as order type "Business Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Submit for "SSA"

Then Change first status as "order_approve" for "Business Use" from pending manager approval state "1"

After

Scenario: QA-50==> Submit order those are in Pending by approval manager for "Business Use" and status as "order_deny" with invitee

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Select Company Owned ticket for "Business Use" and user "SSA"

Then Insert Ticket details as order type "Business Use" for "SSA"

Then Insert first invitee detail for "SSA"

Then Submit for "SSA"

Then Change first status as "order_deny" for "Business Use" from pending manager approval state "0"

After

Scenario: Logout SSA (SSA Cases Completed)

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA_

Then logout SSA

After

Scenario: QA-38==> login as a "SSA"

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

When We Enter Login Creds "umair.aslam.ssa@techtronix.biz" and "Test_12345"

Then move on landing page

Then select customer as "uiautomator1"

Then Dismiss_Card_SSA

After

Scenario: QA-50==> Submit order on FCFS basis with order type "Personal Use" without invitee

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to CustomerFeatures tab

Then Verify FCFS is Enabled

Then Select Company Owned ticket for "Personal Use" and user "SSA"

Then Insert Ticket details as order type "Personal Use" for "SSA"

Then Submit for "SSA"

Then wait for a while

After

Scenario: QA-51==> REPORT:"Invitee Information"==> Check if every report and list page is opening and verify Select all filter and remove all filter

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Invitee Information" Report

Then Verify No of records After removing all Filters

Error: function timed out, ensure the promise resolves within 300000 milliseconds
    at Timeout.(anonymous) (D:\automatmions\a\QAutomation\test_scripts\ticket_manager\tms\node_modules\@cucumber\cucumber\lib\time.js:54:20)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

Then Verify select all Filter

After

Scenario: QA-51==> REPORT:"All Tickets"==> Check if every report and list page is opening and verify Select all filter and remove all filter

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "All Tickets" Report

Then Verify No of records After removing all Filters

Error: function timed out, ensure the promise resolves within 300000 milliseconds
    at Timeout.(anonymous) (D:\automatmions\a\QAutomation\test_scripts\ticket_manager\tms\node_modules\@cucumber\cucumber\lib\time.js:54:20)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

Then Verify select all Filter

After

Scenario: QA-51==> REPORT:"Shipping"==> Check if every report and list page is opening and verify Select all filter and remove all filter

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Shipping" Report

Then Verify No of records After removing all Filters

Error: function timed out, ensure the promise resolves within 300000 milliseconds
    at Timeout.(anonymous) (D:\automatmions\a\QAutomation\test_scripts\ticket_manager\tms\node_modules\@cucumber\cucumber\lib\time.js:54:20)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

Then Verify select all Filter

After

Scenario: QA-51==> REPORT:"Shipping"==> Check if every report and list page is opening inline filter

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Shipping" Report

Then Remove All Filter

Then Verify InLine Filter

After

Scenario: QA-51==> REPORT:"Shipping"==> verify filter tab and Export reports in PDF+EXCEL and verify DeSelect all filter

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Shipping" Report

Then Remove All Filter

Then Verify Filter tab

Then Export as PDF

Then Export as Excel

Then Verify DeSelect all Filter

After

Scenario: QA-51==> REPORT:"Invitee Information"==> verify save report and verify email address

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Invitee Information" Report

Then Save Report

Then Send Report at invalid mail address

And Send Report at Valid mail address

After

Scenario: QA-51==> REPORT:"Shipping"==> verify Pagination

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Navigate to "Shipping" Report

Then Verifiy Pagination

After

Scenario: Logout SSA (SSA Cases Completed)

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

Then Dismiss_Card_SSA_

Then logout SSA

After

Scenario: QA-38==> login as a "CSA"

Given Navigate to TicketManager website ==> "https://app01-qa10.spotlighttms.com/"

When We Enter Login Creds "tmautomator.csa@techtronix.biz" and "tmautomator123"

Then move on landing page

Then Dismiss_Card

Then Wait for few seconds

After